package com.hntest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller("HelloController")
public class HelloController {

    @RequestMapping(value = "/doHello",method = {RequestMethod.POST,RequestMethod.GET})
    public String doHello(){
        return "index";
    }
}
